﻿// See https://aka.ms/new-console-template for more information
using Clear.Algorithms;

Console.WriteLine("1：冒泡排序    求质数");
//ListNode n1 = new ListNode(2, new ListNode(4, new ListNode(3, null)));
//ListNode n2 = new ListNode(5, new ListNode(6, new ListNode(4, null)));
//var r = NumAlgorithms.AddTwoNumbers(n1, n2);
int[] n1 = new int[] { 1, 2 };
int[] n2 = new int[] { 3,4,5 };
var r = NumAlgorithms.FindMedianSortedArrays(n1, n2);

Console.WriteLine(r.ToString());